﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="AddFeature.cs" company="">
//   
// </copyright>
// <summary>
//   The add feature.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace UITest.SpecFlowWithCUIT
{
    using Microsoft.VisualStudio.TestTools.UnitTesting;

    using TechTalk.SpecFlow;

    /// <summary>
    ///     The add feature.
    /// </summary>
    [DeploymentItem("Dependence")]
    public partial class AddFeature
    {
        #region Fields

        /// <summary>
        /// The test context.
        /// </summary>
        private TestContext testContext;

        #endregion

        #region Public Properties

        /// <summary>
        ///     Gets or sets the test context.
        /// </summary>
        public TestContext TestContext
        {
            get
            {
                return this.testContext;
            }

            set
            {
                this.testContext = value;
                this.TestInitialize();
                FeatureContext.Current["TestContext"] = value;
            }
        }

        #endregion
    }
}